<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/payment.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/index.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/common.css"/>
				<script src="./Public/Home/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="./Public/Home/js/common.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
	{{include file="VIEW_PATH/Common/header.php"}}	
	<script type="text/javascript">
		$(function(){
	     
		   var times = <?php  echo $order['o_time'];  ?>;
		   var endtime = <?php echo time();?>;
		   var timec = 7200;
		   var jishi = times - endtime + 7200;
        
$(document).ready(function() { 
InterValObj = window.setInterval(SetRemainTime, 1000); 
   }); 
 
 //将时间减去1秒，计算天、时、分、秒 
 function SetRemainTime() { 
  if (jishi > 0) { 
   jishi = jishi - 1; 
   
   var second = Math.floor(jishi % 60);             // 计算秒     
   var minite = Math.floor((jishi / 60) % 60);      //计算分 
   var hour = Math.floor((jishi / 3600) % 24);      //计算小时 
 
 
   $(".countdown").html(hour + "小时" + minite + "分" + second + "秒"); 
  } else {//剩余时间小于或等于0的时候，就停止间隔函数 
 clearInterval(InterValObj); 
   //这里可以添加倒计时时间为0后需要执行的事件 
  } 
 } 
})
	</script>
		<div id="payment">
			<div class="tj_success">
				<h2>
					订单提交成功，还差最后一步，请尽快付款！
				</h2>
				<h3>请您在<b class="countdown"></b>内完成支付，否则您的订单会自动取消</h3>
				<p>应付金额：{{$data['total']}}元 <a href="javascript:void(0);" class="order_info">订单详情^</a></p>
				<div class="order_info_view">
				<p>订单号：{{$_SESSION['tid']}}</p>
				<p>收货人：谢方方 13146616176</p>
				<p>收货地址：北京,北京市,朝阳区 孙河顺白路12号</p>
				</div>
				
			</div>
			<div class="go_pay">
				<h2>只差一步，快来付款哦！</h2>
				<!--支付宝-->
				<div class="pay_block">
					<div class="pay_title"> 支付平台</div>
					<ul>
						<li>
							<input type="radio" name="" id="" value="" />
							<label for="">	
								<img src="./Public/Home/img/zhifubao.png"/>
							</label>
						</li>
					</ul>
				</div>
				<!--其他银行-->
				<div class="pay_block">
					<div class="pay_title"> 网上银行</div>
					<ul>
						<li>
							<input type="radio" name="" id="" value="" />
							<label for="">	
								<img src="./Public/Home/img/zhifubao.png"/>
							</label>
						</li>
						<li>
							<input type="radio" name="" id="" value="" />
							<label for="">	
								<img src="./Public/Home/img/zhifubao.png"/>
							</label>
						</li>
						<li>
							<input type="radio" name="" id="" value="" />
							<label for="">	
								<img src="./Public/Home/img/zhifubao.png"/>
							</label>
						</li>
						<li>
							<input type="radio" name="" id="" value="" />
							<label for="">	
								<img src="./Public/Home/img/zhifubao.png"/>
							</label>
						</li>
						<li>
							<input type="radio" name="" id="" value="" />
							<label for="">	
								<img src="./Public/Home/img/zhifubao.png"/>
							</label>
						</li>
						<li>
							<input type="radio" name="" id="" value="" />
							<label for="">	
								<img src="./Public/Home/img/zhifubao.png"/>
							</label>
						</li>
						<li>
							<input type="radio" name="" id="" value="" />
							<label for="">	
								<img src="./Public/Home/img/zhifubao.png"/>
							</label>
						</li>
					</ul>
				</div>
				<!--pay_bottom-->
				<div class="pay_bottom">
					<div class="pay_bottom_info">
						待支付总额：<b>¥{{$data['total']}}</b> 
						<a href="" class="gotopay"></a>
					</div>
					<p class="pay_tip">请在<b class="countdown">1小时59分59秒</b>内完成支付</p>
				</div>
			</div>
		</div>
		{{include file="VIEW_PATH/Common/footer.php"}}	
	</body>
	
</html>
